﻿using B.S.DataBase.MyProject.Domain;
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace B.S.DataBase.MyWrite.API.Appicant.Command.Approval
{
    public class AppUpdataCommends:IRequest<APIResult<LeaveApplications>>
    {
        public int ApplicationId { get; set; }


        /// <summary>
        /// 审批状态    0：待审批 1：已审批
        /// </summary>
        public int ApproveStatus { get; set; }


        /// <summary>
        /// 审批意见   0:待审批 1:同意 2:拒绝
        /// <summary>
        public string? ApprovalOpinion { get; set; }

        public string UserName {  get; set; }
        public string? Reasonrejection {  get; set; }

        
    }
}
